#include <stdio.h>
#include <stdlib.h>

#include "node.h"

//创建节点
Node *create_n(void* data)
{
    //给节点分配内存
    Node* node = malloc(sizeof(Node));
    //数据域赋值
    node->data = data;
    //指针域初始化
    node->next = NULL;
    return node;
}
